.class Lcom/estrongs/android/ui/dialog/c0$c;
.super Ljava/lang/Object;
.source "NameEditorDialog.java"

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/c0;-><init>(Landroid/content/Context;Landroid/app/Dialog;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/c0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/c0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/c0$c;->a:Lcom/estrongs/android/ui/dialog/c0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/c0$c;->a:Lcom/estrongs/android/ui/dialog/c0;

    iget-object v0, p1, Lcom/estrongs/android/ui/dialog/c0;->b:Landroid/app/Dialog;

    check-cast v0, Lcom/estrongs/android/ui/dialog/d0;

    iget-boolean v0, v0, Lcom/estrongs/android/ui/dialog/d0;->c:Z

    if-eqz v0, :cond_1

    .line 2
    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/c0;->c:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/c0$c;->a:Lcom/estrongs/android/ui/dialog/c0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/c0;->g:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/c0$c;->a:Lcom/estrongs/android/ui/dialog/c0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/c0;->b:Landroid/app/Dialog;

    check-cast v0, Lcom/estrongs/android/ui/dialog/d0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/d0;->b:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 5
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    if-eqz p1, :cond_0

    const p1, 0x7f060290

    goto :goto_0

    :cond_0
    const p1, 0x7f060292

    :goto_0
    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/c0$c;->a:Lcom/estrongs/android/ui/dialog/c0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/c0;->b:Landroid/app/Dialog;

    check-cast v0, Lcom/estrongs/android/ui/dialog/d0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/d0;->b:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setTextColor(I)V

    :cond_1
    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method
